const mysql=require('mysql')
const content=mysql.createConnection({
    host:"localhost",
    user:"root",
    password:"123456",
    database:"demo"
})
// const mongoose = require("mongoose")
// const Schema = mongoose.Schema
// // user模型  ===> users集合
// const UserType = {
//     username: String,
//     password: String,
//     gender: Number, //性别,0,1,2
//     introduction: String,//简介
//     avatar: String,
//     role:Number, //管理员1，编辑2
    
// }
// const UserModel = mongoose.model("user", new Schema(UserType))
module.exports = content